{include file="public/header-static"/}
{include file="public/sidebar"/}
<div id="main">
	{include file="public/header"/}
	<style>
		.communiy{
			text-align: center;
			font-weight: 600;
			font-size: 16px;
			margin-top: 5px;
		}
		.mat-top{
			margin-top: 10px;
		}
		.d-flex{
			justify-content: space-between;
		}
		.d-str{
			font-size: 15px;
			font-weight: 600;
			margin-top: 10px;
		}
		.card-dth{
			padding-top: 10px;
			position: relative;
		}
		.ma-dfx{
			padding: 10px 20px 20px 20px;
		}
		.pox{
			position: absolute;
			left: 0;
			right: 0;
			top: 67%;
			text-align: center;
			font-size: 15px;
			font-weight: 600;
		}
	</style>
	<div class="main-content">
		<div class="container">
			<div class="page-header">
			</div>
			<div class="row">
				<div class="col-md-12">
					<div class="row">
						<div class="col-md-4">
							<div class="card">
								<div class="card-dth">
									<canvas id="doughnut-chart"></canvas>
								</div>
								<div class="mat-top">
									<div class="communiy">社群总量</div>
									<div class="communiy">2452</div>
								</div>

								<div class="ma-dfx">
									<div class="d-flex">
										<div class="d-str">本周新增：34</div>
										<div class="d-str">增长率：3%</div>
									</div>
									<div class="d-flex">
										<div class="d-str">昨日新增：2</div>
										<div class="d-str">增长率：0.4%</div>
									</div>
								</div>
							</div>
						</div>

						<div class="col-md-4">
							<div class="card">
								<div class="card-dth">
									<canvas id="uservip"></canvas>
								</div>
								<div class="mat-top">
									<div class="communiy">会员总量</div>
									<div class="communiy">2452</div>
								</div>
								<div class="ma-dfx">
									<div class="d-flex">
										<div class="d-str">本周新增：34</div>
										<div class="d-str">增长率：3%</div>
									</div>
									<div class="d-flex">
										<div class="d-str">昨日新增：2</div>
										<div class="d-str">增长率：0.4%</div>
									</div>
								</div>
							</div>
						</div>

						<div class="col-md-4">
							<div class="card">
								<div class="card-dth">
									<canvas id="post"></canvas>
								</div>
								<div class="mat-top">
									<div class="communiy">帖子总量</div>
									<div class="communiy">2452</div>
								</div>
								<div class="ma-dfx">
									<div class="d-flex">
										<div class="d-str">发帖量：34</div>
										<div class="d-str">增长率：3%</div>
									</div>
									<div class="d-flex">
										<div class="d-str">昨日新增：2</div>
										<div class="d-str">增长率：0.4%</div>
									</div>
								</div>
							</div>
						</div>


						<div class="col-md-4">
							<div class="card">
								<div class="card-dth">
									<canvas id="Statistics"></canvas>
								</div>
								<div class="mat-top">
									<div class="communiy">帖子数据</div>
									<div class="communiy">2452</div>
								</div>
								<div class="ma-dfx">
									<div class="d-flex">
										<div class="d-str">转发量：34</div>
										<div class="d-str">增长率：3%</div>
									</div>
									<div class="d-flex">
										<div class="d-str">点赞量：2</div>
										<div class="d-str">增长率：0.4%</div>
									</div>
								</div>
							</div>
						</div>

						<!--<div class="col-md-3">
							<div class="card">
								<div class="card-body">
									<h6 class="card-title d-flex align-items-start justify-content-between mb-0">
										<span>会员</span>
										<span class="avatar">
                                            <span class="avatar-title bg-warning text-white rounded-circle">
                                                <i class="fa fa-dollar"></i>
                                            </span>
                                        </span>
									</h6>
									<div class="d-flex d-sm-block d-lg-flex align-items-end mb-3">
										<h3 class="mb-0 mr-2">6,137</h3>
										<p class="small text-muted mb-0 line-height-20">
											<span class="text-danger">+ 3.2%</span> 本周统计
										</p>
									</div>
									<canvas id="widget-chart2"></canvas>
								</div>
							</div>
						</div>
						<div class="col-md-3">
							<div class="card">
								<div class="card-body">
									<h6 class="card-title d-flex align-items-start justify-content-between mb-0">
										<span>码云价值</span>
										<span class="avatar">
                                            <span class="avatar-title bg-danger text-white rounded-circle">
                                                <i class="fa fa-cube"></i>
                                            </span>
                                        </span>
									</h6>
									<div class="d-flex d-sm-block d-lg-flex align-items-end mb-3">
										<h3 class="mb-0 mr-2">7,650</h3>
										<p class="small text-muted mb-0 line-height-20">
											<span class="text-success">+ 5.1%</span> 上周统计
										</p>
									</div>
									<canvas id="widget-chart3"></canvas>
								</div>
							</div>
						</div>
						<div class="col-md-3">
							<div class="card">
								<div class="card-body">
									<h6 class="card-title d-flex align-items-start justify-content-between mb-0">
										<span>码云价值</span>
										<span class="avatar">
                                            <span class="avatar-title bg-danger text-white rounded-circle">
                                                <i class="fa fa-cube"></i>
                                            </span>
                                        </span>
									</h6>
									<div class="d-flex d-sm-block d-lg-flex align-items-end mb-3">
										<h3 class="mb-0 mr-2">7,650</h3>
										<p class="small text-muted mb-0 line-height-20">
											<span class="text-success">+ 5.1%</span> 上周统计
										</p>
									</div>
									<canvas id="widget-chart4"></canvas>
								</div>
							</div>
						</div>

					</div>

					<div class="row">
						<div class="col-md-8">
							<div class="card">
								<div class="card-body">
									<h6 class="card-title d-flex justify-content-between">
										<span>今日量</span>
										<span class="dropdown">
                                            <a href="#" data-toggle="dropdown" aria-haspopup="true"
											   aria-expanded="false">
                                                <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
                                            </a>
                                            <span class="dropdown-menu dropdown-menu-right">
                                                <a href="#" class="dropdown-item">导出</a>
                                                <a href="#" class="dropdown-item">下载</a>
                                                <a href="#" class="dropdown-item">设置</a>
                                            </span>
                                        </span>
									</h6>
									<div id="chart1"></div>
								</div>
							</div>
						</div>
						<div class="col-md-4">
							<div class="card">
								<div class="card-body">
									<h6 class="card-title">投票</h6>
									<div class="text-center">
										<div class="mb-2">
											<span class="bar-1">2,5,9,6,5,2,4,3,7,5</span>
										</div>
										<div class="font-size-30 mb-1 font-weight-bold text-primary">3,241</div>
										<p class="mb-0 text-muted">
											<i class="fa fa-caret-up text-primary m-r-5"></i> 23% 比上周高
										</p>
									</div>
								</div>
							</div>
							<div class="card">
								<div class="card-body">
									<h6 class="card-title">价值</h6>
									<div class="text-center">
										<div class="mb-2">
											<span class="bar-3">2,5,9,6,5,2,4,3,7,5</span>
										</div>
										<div class="font-size-30 mb-1 font-weight-bold text-success">$772.52</div>
										<p class="mb-0 text-muted">
											<i class="fa fa-caret-down text-danger m-r-5"></i> 本周统计
										</p>
									</div>
								</div>
							</div>-->
						</div>
					</div>
				</div>
			</div>
		</div>



	</div>
	{include file="public/footer"/}
</div>
<script src="__STATIC__/vendors/charts/chartjs/chart.min.js"></script>
<script src="__STATIC__/vendors/charts/apex/apexcharts.min.js"></script>
<script src="__STATIC__/vendors/circle-progress/circle-progress.min.js"></script>
<script src="__STATIC__/assets/js/examples/dashboard.js"></script>
<script>
	new Chart(document.getElementById("doughnut-chart"), {
		type: 'doughnut',
		data: {
			labels: ["本周", "昨日", "实时"],
			datasets: [
				{
					label: "Population (millions)",
					backgroundColor: ["#97D70D", "#F69136","#347AF7"],
					data: [100,100,100]

				}
			]
		},

		options: {

			title: {

				display: true,

				text: '社群统计'

			}

		}

	});

	new Chart(document.getElementById("uservip"), {
		type: 'doughnut',
		data: {
			labels: ["本周", "昨日", "实时"],
			datasets: [
				{
					label: "Population (millions)",
					backgroundColor: ["#97D70D", "#F69136","#347AF7"],
					data: [100,100,100]

				}
			]
		},

		options: {

			title: {

				display: true,

				text: '会员统计'

			}

		}

	});


	new Chart(document.getElementById("post"), {
		type: 'doughnut',
		data: {
			labels: ["本周", "昨日", "实时"],
			datasets: [
				{
					label: "Population (millions)",
					backgroundColor: ["#97D70D", "#F69136","#347AF7"],
					data: [100,100,100]

				}
			]
		},

		options: {

			title: {

				display: true,

				text: '帖子统计'

			}

		}

	});

	new Chart(document.getElementById("Statistics"), {
		type: 'doughnut',
		data: {
			labels: ["本周", "昨日", "实时"],
			datasets: [
				{
					label: "Population (millions)",
					backgroundColor: ["#97D70D", "#F69136","#347AF7"],
					data: [100,100,100]

				}
			]
		},
		options: {
			title: {
				display: true,
				text: '帖子数据统计'

			}

		}

	});
</script>
</body>
</html>